package org.jeecg.modules.house.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 房源实体
 * @author： jeecg-boot
 * @date：   2019-04-20
 * @version： V1.0
 */
@Data
@TableName("bis_house")
@ApiModel(description = "房源信息实体")
public class BisHouse implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.UUID)
	@ApiModelProperty(name = "id", value = "主键id", dataType = "String")
	private java.lang.String id;
	/**标题*/
	@Excel(name = "标题", width = 15)
	@ApiModelProperty(name = "title", value = "标题", dataType = "String")
	private java.lang.String title;
	/**封面图片url*/
	@ApiModelProperty(name = "cover", value = "封面图片url", dataType = "String")
	private java.lang.String cover;
	/**区域*/
	@Excel(name = "区域", width = 15)
	@ApiModelProperty(name = "region", value = "区域", dataType = "Integer")
	private java.lang.Integer region;
	/**地址*/
	@Excel(name = "地址", width = 15)
	@ApiModelProperty(name = "address", value = "地址", dataType = "String")
	private java.lang.String address;
	/**户型*/
	@Excel(name = "户型", width = 15)
	@ApiModelProperty(name = "structure", value = "户型", dataType = "Integer")
	private java.lang.Integer structure;
	/**金额*/
	@Excel(name = "金额", width = 15)
	@ApiModelProperty(name = "money", value = "金额", dataType = "BigDecimal")
	private java.math.BigDecimal money;
	/**单位*/
	@Excel(name = "单位", width = 15)
	@ApiModelProperty(name = "unit", value = "单位", dataType = "Integer")
	private java.lang.Integer unit;
	/**租售类型*/
	@Excel(name = "租售类型", width = 15)
	@ApiModelProperty(name = "sellType", value = "租售类型", dataType = "Integer")
	private java.lang.Integer sellType;
	/**摘要*/
	@Excel(name = "摘要", width = 15)
	@ApiModelProperty(name = "summary", value = "摘要", dataType = "String")
	private java.lang.String summary;
	/**详细描述*/
	@Excel(name = "详细描述", width = 15)
	@ApiModelProperty(name = "content", value = "详细描述", dataType = "String")
	private java.lang.Object content;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(name = "createTime", value = "创建时间", dataType = "Date")
	private java.util.Date createTime;
	/**创建者id*/
	@Excel(name = "创建者的username", width = 15)
	@ApiModelProperty(name = "createBy", value = "创建者的username", dataType = "String")
	private java.lang.String createBy;
}
